size = {'int':'整型','list':'列表','float':'浮点数','math':'数学','english':'英语'}
for a,b in size.items():
    print(a + ':' + b + '\n')
rivers = {'nile':'egypt','chang':'huang','zhu':'china'}
for a,b in rivers.items ():
    print('The'+ a + 'runs throughEgypt' + b +'.')
for a in rivers.keys():
    print(a)
for b in rivers.values():
    print(b)
favorite_languages = { 'jen': 'python', 'sarah': 'c', 'edward': 'ruby', 'phil': 'python', }
lists = ['jen','sarah','edward','phil']
t = []
for a in favorite_languages.keys():
    t.append(a)
    print(t)
for b in lists:
    if b in t:
        print("thanks")
    else:
        print("请参加调查")